// GeomDoc.h : interface of the CGeomDoc class
//


#pragma once

class CAnyDocument;
class CAnyView;

class GEOMUIAPI CGeomDoc : public CDocument
{
protected: // create from serialization only
	CGeomDoc();
	DECLARE_DYNCREATE(CGeomDoc)

// Attributes
public:
// Operations
public:
	void OnActiveDocument(bool bActive);
// Overrides
public:
	virtual BOOL OnNewDocument();
	virtual void Serialize(CArchive& ar);
	CAnyDocument* GetAnyDoc(){return m_pAnyDoc;}
	void OnFileExport(const CString& szExporterGUID, CAnyView* pAnyView);
	void OnFileImport(const CString& szImpotrerGUID, CAnyView* pAnyView);
// Implementation
public:
	virtual ~CGeomDoc();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:
	CAnyDocument* m_pAnyDoc;
// Generated message map functions
protected:
	DECLARE_MESSAGE_MAP()
public:
	virtual void OnCloseDocument();
public:
	virtual BOOL OnSaveDocument(LPCTSTR lpszPathName);
};


